{template "header.html", "/"}

<div class="page-container">
    <div class="page-content-wrapper">

        <div class="page-content">
            <div class="container">

                <ul class="page-breadcrumb breadcrumb">
                    <li><a href="{SITE_URL}">首页</a><i class="fa fa-angle-right"></i></li>
                    {if defined('IS_SHARE') && !IS_SHARE}
                    <li><a href="{MODULE_URL}">{MODULE_NAME}</a><i class="fa fa-angle-right"></i></li>
                    {/if}
                    <li> <span>书籍</span></li>
                </ul>



                <div class="book-content">
                    <div class="book-content-list row">

                        <div class="col-md-8">

                            <div class="m-bookdetail">
                                <a href="javascript:;" class="cover">
                                    <img src="{dr_thumb($thumb, 180, 240)}" width="172" height="237" alt="{$title}"></a>
                                <div class="f-fl" style="width:506px;">
                                    <h3>
                                        <b>{dr_strcut($title, 20)}</b>
                                        <span> <em>{$author}</em>&nbsp;&nbsp;著</span>
                                    </h3>
                                    <div class="description j-desc">
                                        {$description}
                                    </div>
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="book-zt ">
                                                <p>连载状态：{$schedule}</p>
                                                <p>发布时间：{$inputtime}</p>
                                                <p>更新时间：{$updatetime}</p>
                                                <p>阅读人气：{dr_show_hits($id)}</p>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="ops2">
                                                <a href="javascript:dr_module_favorite('{MOD_DIR}', '{$id}', 0);" class="btn btn-circle default">加入收藏</a>
                                            </div>
                                            <div class="book-tag-list news-keyword-tags">
                                                {loop $keyword_list $name $url}
                                                <label>
                                                    <a href="{$url}" target="_blank">{$name}</a>
                                                </label>
                                                {/loop}
                                            </div>
                                        </div>
                                    </div>


                                </div>
                            </div>

                            <div class="book-content margin-top-30">
                                <div class="commonTitle clearfix">
                                    <h4 class="fl fw">书籍目录</h4>
                                </div>
                                <ul class="book-ml-list">
                                    {extend cid=$id order=displayorder,id_asc}
                                    <li>
                                        <a target="_blank" href="{$t.url}">{$t.name}</a>
                                        <span>{$t.inputtime}</span>
                                    </li>
                                    {/extend}
                                </ul>
                            </div>

                            <div class="book-content margin-top-30 clear">
                                <div class="commonTitle clearfix">
                                    <h4 class="fl fw">书籍介绍</h4>
                                </div>
                                <div class="book-content-list ">

                                    {$content}

                                </div>
                            </div>

                            <div class="book-content margin-top-30">
                                <div class="commonTitle clearfix">
                                    <h4 class="fl fw">网友评论</h4>
                                </div>
                                <div class="book-content-list ">

                                    {dr_module_comment(MOD_DIR, $id)}

                                </div>
                            </div>

                        </div>

                        <div class="col-md-4">

                            <div class="recommend ">
                                <div class="title clearfix">
                                    阅读排行榜
                                </div>
                                <ul class="recommendCon week">
                                    {module catid=$catid order=hits num=10}
                                    {if $key == 0}
                                    <li class="text-overflow clearfix">
                                        <a href="{$t.url}">
                                            <span class="fl">1</span>
                                            <div class="scal oh clearfix bookShadow fl" style="width: 48px; height: 64px;"><img class="fl" src="{dr_thumb($t.thumb, 50, 70)}"></div>
                                            <div class="fl bookContent">
                                                <div class="bookName text-overflow">{dr_strcut($t.title, 20)}</div>
                                                <div class="bookType text-overflow">{dr_cat_value($t.catid, 'name')}</div>
                                                <div class="bookAuthor text-overflow">{$t.schedule}</div>
                                            </div>
                                        </a>
                                    </li>
                                    {else}
                                    <li class="text-overflow"><a href="{$t.url}"><span>{$key+1}</span>{dr_strcut($t.title, 20)}</a></li>
                                    {/if}
                                    {/module}

                                </ul>

                            </div>

                            <div class="recommend mt20">
                                <div class="title clearfix">
                                    评论排行榜
                                </div>
                                <ul class="recommendCon week">
                                    {module catid=$catid order=comments num=10}
                                    {if $key == 0}
                                    <li class="text-overflow clearfix">
                                        <a href="{$t.url}">
                                            <span class="fl">1</span>
                                            <div class="scal oh clearfix bookShadow fl" style="width: 48px; height: 64px;"><img class="fl" src="{dr_thumb($t.thumb, 50, 70)}"></div>
                                            <div class="fl bookContent">
                                                <div class="bookName text-overflow">{dr_strcut($t.title, 20)}</div>
                                                <div class="bookType text-overflow">{dr_cat_value($t.catid, 'name')}</div>
                                                <div class="bookAuthor text-overflow">{$t.schedule}</div>
                                            </div>
                                        </a>
                                    </li>
                                    {else}
                                    <li class="text-overflow"><a href="{$t.url}"><span>{$key+1}</span>{dr_strcut($t.title, 20)}</a></li>
                                    {/if}
                                    {/module}
                                </ul>
                            </div>
                        </div>

                    </div>

                </div>

            </div>
        </div>

    </div>

</div>


{template "footer.html", "/"}